/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package proteoman.data;

/**
 *
 * @author gjj
 */
public class MassSpectrumImpl implements MassSpectrum {

    protected String scanID;
    protected byte level;

    public MassSpectrumImpl() {

    }

    public MassSpectrumImpl(final String scanID) {
        setScanID(scanID);
    }

    public MassSpectrumImpl(final String scanID, final byte level) {
        setScanID(scanID);
        setLevel(level);
    }

    public String getScanID() {
        return scanID;
    }

    public byte level() {
        return level;
    }

    public void setScanID(String scanID) {
        if (scanID==null) {
            throw new java.lang.NullPointerException();
        }
        this.scanID = scanID;
    }

    public void setLevel(byte level) {
        this.level = level;
    }

}
